import { IAlertParams, PanelItemState } from '@ibiz-template/runtime';
import { createUUID } from 'qx-util';

export class CoopPosState extends PanelItemState {
  /**
   * alert标识
   *
   * @author zhanghengfeng
   * @date 2024-04-03 17:04:04
   * @type {string}
   */
  key: string = createUUID();

  /**
   * 提示参数
   *
   * @author zhanghengfeng
   * @date 2024-04-03 17:04:55
   * @type {IAlertParams}
   */
  alertParams: IAlertParams = {
    data: {
      action: 'VIEW',
      entity: '',
      key: '',
      time: 0,
      username: '',
    },
  };
}
